ticketUi = Ext.extend(Ext.Panel, {
    anchor : '100%'
    , frame : false
    , collapsible : true
    , hideCollapseTool : true
    , titleCollapse: true
    , collapsed: false
    , layout :'fit'
    , height: 180
    , padding: 5
    , baseCls : 'x-ticket'
    , autoScroll: true
    , ticketInfoContainer : new Ext.Container()
    , tpl : new Ext.XTemplate(
        '<div class="ticket-info-container" >'
            ,'<div><b>{assignee}</b></div>'
            ,'<div>{useCase}</div>'
            ,'<div class="timetable">'
                ,'<b>{usedTime}</b> / {estimate} h'
            ,'</div>'
            ,'<fieldset><legend>Comments</legend>'
                //,'<tpl for="comments">'
                //    ,'<div><b>{date} {user}:</b> {comment}</div>'
                //,'</tpl>'
            ,'</fieldset>'
        ,'</div>'
    )
});
